package it.hopeless.jee6.rest;

import it.hopeless.jee6.security.User;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import java.util.List;

/**
 * User: nbreda
 * Date: 17-feb-2010
 * Time: 23.42.11
 */
@Path("/user")
@Produces("application/json")
public class RestUserManager {

    @GET
    public User getUser(){
        User user = new User();
        user.setUsername("nicola");
        user.setPassword("passworde");
        return user;
    }
}
